package com.example.springsecurity02.controller;

/**
 * @ Description：不用保护公共的资源
 * @ Tool：IntelliJ IDEA
 * @ Author：lk
 * @ Date：2024-10-08-11:38 PM
 * @ Version：1.0
 */

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    @GetMapping("/index")
    public String index() {
        System.out.println("hello index");
        return "hello index";
    }
}